# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=pkgcheck-arch
_pkgname=pkgcheck_arch
pkgver=0.1.4
pkgrel=4
pkgdesc="A bashate fork for Arch Linux's PKGBUILDs."
arch=('any')
url='https://github.com/FFY00/pkgcheck'
license=('Apache')
depends=('python-pbr')
makedepends=('python-setuptools')
source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$_pkgname-$pkgver.tar.gz")
sha512sums=('7952373e63e894e32e1afeea23ee67b502339762d734f219ef917b9406df8ac6ff1b1a0b80be0c10ac88862afbc76fe4a0226410bd910531a1882b87a5e3937b')

build() {
  cd "$_pkgname-$pkgver"

  python setup.py build
}

package() {
  cd "$_pkgname-$pkgver"

  python setup.py install --root="$pkgdir" --prefix=/usr -O1 --skip-build
}

